package com.abel.repository;

import java.util.List;

import com.abel.domain.WorkExperience;
import com.abel.domain.PersonSearchCriteria;
import com.abel.repository.exception.RepositoryException;

public interface WorkExperienceRepository extends BaseRepository {

		public int addWorkExperience(WorkExperience workExperience) throws RepositoryException;
		
		public void updateWorkExperience(WorkExperience workExperience) throws RepositoryException;
		
		public void deleteWorkExperience(int aplId, int workHistId) throws RepositoryException;

		public void deleteWorkExperience(int workHistId) throws RepositoryException;

		public void deleteWorkExperience(WorkExperience workExperience) throws RepositoryException;
		
		public List<WorkExperience> getWorkExperience(PersonSearchCriteria criteria) throws RepositoryException;
}
